﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RoadTeam.SysInterface;
using System.Data;
using RoadTeam.Model;
using RoadTeam.Enums;

namespace RoadTeam.BsSystem.CS.Maintenance
{
    public class CsMainProjectRela_Sys
    {
        public DataTable GetEmptyTable()
        {
            SqlWhere where = new SqlWhere();
            where.SelectColumn = @" Top 0 MaintenanceID, ProjectID, ProjectName, MaterialFee, LaborCost, Unit, ClassName,Number,MaterialSum,LaborSum,AllSum";
            return TbCsMainProjectRela.Select(where, GlobalConfig.RtConnectionString);
        }

        public bool InSertProjectRela(DataTable dt)
        {
           return  TbCsMainProjectRela.InsertDatatable(dt, GlobalConfig.RtConnectionString);
        }



    }
}
